<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
             margin: 0;
             padding: 0;
             border: 1px solid red;
        }
        .con{
            display: flex;
            height: 100vh;
            justify-content: center;
            align-items: center;
        }
        .con .login{
            width: 550px;
            height: 300px;
            display: flex;
            /* flex-direction: column; */
            justify-content: center;
            align-items: center;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="con">
        <div class="login">
            <form action="./chatroom.html">
                <input type="text" name="" id=""><br/>
                <input type="password" name="" id=""><br/>
                <input type="submit" value="登录">

            </form>
        </div>
    </div>
</body>
</html>